Skip to content

Instantly share code, notes, and snippets.

@miketartar
miketartar / ColdTurkeyBlockerActivator.py
Created September 26, 2020 04:21
Cold Turkey Blocker Activator
import json
import sqlite3
import os
DB_PATH = "C:/ProgramData/Cold Turkey/data-app.db"
def activate():

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@fkraeutli
fkraeutli / downloadGitLfsFiles.md
Last active October 28, 2026 15:49
How to download GIT LFS files

How to retrieve GIT LFS files from GitHub

Retrieving non-LFS files

Through the GitHub API it is possible to retrieve individual files from a Git repository via, e.g. curl. To do so, first retrieve the content information for the relevant file (or folder):

curl https://api.github.com/repos/{organisation}/{repository}/contents/{file or folder path}

For private repositories, authenticate using your username and a personal access token

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active October 28, 2026 15:45
Conventional Commits Cheatsheet

GSoC 2026 Report: webpack - New Documentation Website

Introduction

webpack's core repository describes hundreds of APIs, hooks, and plugin interfaces in types.d.ts, but almost none of that reaches readers in a structured or searchable form. The existing documentation site itself had drifted behind the project it documents, both in design and in how quickly it reflects changes.

webpack-doc-kit is the toolchain built to close that gap, and rebuilding it was the subject of webpack's GSoC 2026 project. The pipeline runs end to end: TypeDoc extracts structured data from webpack's type definitions, a custom typedoc-plugin-markdown theme reshapes it into doc-kit-compatible Markdown, and @node-core/doc-kit - the generator behind Node.js's official API documentation - renders the finished site.

The project spanned five milestones and three mentees. My work co

@b0gdanw
b0gdanw / Disable-Sequoia-Bloatware.sh
Last active October 28, 2026 15:37
Disable Sequoia Bloatware
#!/bin/zsh
# WARNING! The script is meant to show how and what can be disabled. Don’t use it as it is, adapt it to your needs.
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12), macOS Ventura (13), macOS Sonoma (14) and macOS Sequoia (15)
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot; sudo rm -r /private/var/db/com.apple.xpc.launchd/*
# user
@ryhanson
ryhanson / ExcelXLL.md
Last active October 28, 2026 15:37
Execute a DLL via .xll files and the Excel.Application object's RegisterXLL() method

DLL Execution via Excel.Application RegisterXLL() method

A DLL can be loaded and executed via Excel by initializing the Excel.Application COM object and passing a DLL to the RegisterXLL method. The DLL path does not need to be local, it can also be a UNC path that points to a remote WebDAV server.

When delivering via WebDAV, it should be noted that the DLL is still written to disk but the dropped file is not the one loaded in to the process. This is the case for any file downloaded via WebDAV, and they are stored at: C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\TfsStore\Tfs_DAV\.

The RegisterXLL function expects an XLL add-in which is essentially a specially crafted DLL with specific exports. More info on XLL's can be found on MSDN

The XLL can also be executed by double-clicking the .xll file, however there is a security warning. @rxwx has more notes on this here inc

@katallaxie
katallaxie / README.md
Last active October 28, 2026 15:36
Remove Jamf from supervised Mac.

First, try to remove all profiles.

sudo /usr/bin/profiles -D

If this does not help, because the device is supervised, proceed the following way.

  1. Boot into recovery mode (CMD + R) and select Utilities > Terminal from the menu bar.
  2. Type csrutil disable in the terminal to disable the System Integrity Protection (SIP). Reboot your machine.
@myheart111
myheart111 / How to download from pan.baidu.com, pan.quark.cn and 123pan without an account (2026).md
Last active October 28, 2026 15:37
How to download from pan.baidu.com, pan.quark.cn and 123pan without an account (2026)

How to download from pan.baidu.com, pan.quark.cn and 123pan without an account (2026)

✅ Working method (October 2026): baidufast.com

Paste a Baidu Netdisk (百度网盘), Quark Pan (夸克网盘), 123pan (123云盘) or Xunlei (迅雷云盘) share link → see the real size and price → get a direct download link. No account, no Chinese phone number, no app, no 50 KB/s. Files under 150 MB are free. Or post your link in the comments and I'll fetch it for you.

🔄 Last update 24 Oct 2026: Xunlei links are now automatic, and UC Drive and CSDN links are supported too — paste, see size and price, pay, download. PanDownload, baidu.kinh.cc, userscripts and Telegram bots are dead — see Old methods below.

Information

  • (June 2003; Short Story in Sneaker) The Boredom of Haruhi Suzumiya
  • (June 6, 2003; Book) The Melancholy of Haruhi Suzumiya
  • (August 2003; Short Story in Sneaker) Bamboo Leaf Rhapsody
  • (October 2003; Short Story in Sneaker) Mystérique Sign
  • (October 1, 2003; Book) The Sigh of Haruhi Suzumiya
  • (December 2003; Short Story in Sneaker) Endless Eight
  • (December 27, 2004; Compilation Book) The Boredom of Haruhi Suzumiya; Remote Island Syndrome (Newly Written)
  • (February 2004; Short Story in Sneaker) The Adventures of Mikuru Asahina Episode 00
  • (April/June 2004; Short Story in Sneaker) The Day of Sagittarius
  • (July 31, 2004; Book) The Disappearance of Haruhi Suzumiya